<?php /* Smarty version 2.6.13, created on 2013-10-08 10:02:55
         compiled from Admin/CpM/CpM.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../Public/Css/userp.css" />

</head>
<body>
<div class="content">

	<div class="pos">
		<div class="posDe">当前位置 : <font style="color:blue;">合作伙伴管理&gt;管理合作伙伴</font></div>
	</div>
	<div id="CpM">
		<table border=0 cellspacing='0' cellpadding='0' width="900px">
			<tr><th></th><th>公司编号</th><th>公司名称</th><th>公司类型</th><th>公司电话</th><th>公司联系人</th><th>联系人电话</th><th>公司位置</th><th>操作</th></tr>
			<?php $_from = $this->_tpl_vars['joinCpInfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
			<tr>
				<td><img src='../Public/Images/off.gif'></td>
				<td><?php echo $this->_tpl_vars['v']['cp_id']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_name']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_type']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_phone']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_linkman']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_linkphone']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['cp_position']; ?>
</td>
				<td><?php if ($this->_tpl_vars['isDelete'] == 1): ?><a href="CpDelete.php?id=<?php echo $this->_tpl_vars['v']['cp_id']; ?>
">[删除]</a><?php endif;  if ($this->_tpl_vars['isUpdate'] == 1): ?><a href="CpUpdate.php?flag=display&id=<?php echo $this->_tpl_vars['v']['cp_id']; ?>
">[修改]</a><?php endif; ?></td>
			</tr>
			<?php endforeach; else: ?>
				<tr><td colspan='8'>暂时没有加盟公司信息</td></tr>
			<?php endif; unset($_from); ?>
		</table>
	</div>
</div>
</body>
</html>